package com.atguigu.mapper;

import com.atguigu.pojo.Cart;
import com.atguigu.pojo.CartItem;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CartMapper extends Mapper<Cart> {
    @Select("select t1.* from t_cart t1 left join t_user t2 on t1.user=t2.id")
    Cart getCartItemByUser();

}
